android strings plural

216

android strings plural -

<plurals name="test0">
  <item quantity="one">Test ok</item>
  <item quantity="other">Tests ok</item>
</plurals>

// Use case
int count=3;
getResources().getQuantityString(R.plurals.test0, count);

Comments

Submit
0 Comments